﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Templay;

namespace Sample2
{
    class Program
    {
        static void Main(string[] args)
        {
            Stopwatch sw = new Stopwatch();
            sw.Start();

            Template<XmlParser> template = new Template<XmlParser>();
            template.Render("Templates\\Sample2.xml", OpenMode.FILE);
            template.Run();

            sw.Stop();

            Console.ReadKey();
        }
    }
}
